<template>
  <div style="background-color: #ecf3f9;">
    <homeHead name="知识检索" :showLeft="true"></homeHead>
    <!-- 搜索栏 -->
    <homeSearch></homeSearch>
    <!-- CNKI列表 -->
    <listCnki></listCnki>  
    <!--列表  -->
    <listLocal></listLocal>
  </div>
</template>

<script>
import homeHead from "./components/head.vue"; 
import homeSearch from "./components/homeSearch.vue";
import listCnki from "./components/listCnki.vue"; 
import listLocal from "./components/listLocal.vue"; 

// import { getSearch } from "@/api/home";
export default {
  watch: {
  },
  props: {
  },
  data() {
    return { 
      userInfo:"",
    };
  },
  mounted() {     
    // 获取用户信息; 
    // if(this.$store.getters.getUser) {
    //   this.userInfo = this.$store.getters.getUser;
    // }
  },
  methods: { 

  },
  components: {
    homeHead: homeHead,
    homeSearch:homeSearch,
    listCnki:listCnki,
    listLocal:listLocal,
  },
};
</script> 
